tukey_biweight_rho Function

public pure elemental function tukey_biweight_rho(u, k) result(rst)

Computes Tukey's biweight rho loss for a standardized residual. The positive tuning constant k defaults to 4.685.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: u

The standardized residual.

real(kind=real64), intent(in), optional :: k

The positive cutoff/tuning constant; defaults to 4.685.

Return Value real(kind=real64)

The loss value rho(u).